package com.qf.dao;

import com.qf.entity.Goods;

import java.util.List;
import java.util.Map;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.dao
 * @description: ${TODO}
 * @date 2022/6/23 11:41
 */
public interface GoodsDao {
    long selectCount(Map<Object,Object> map);

    List<Goods> selectAll();

    Goods selectById(int id);

    void insert(Goods goods);

    List<Goods> selectByPage(Map<Object,Object> map);
}
